# Copyright (c) 2008 Alvin Wang http://cloudwizard.com/
# License New BSD
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish, dis-
# tribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the fol-
# lowing conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
#
"""
Amazon Web Services Cloud Support

"""


from cloudwizard.cloud import Cloud
from cloudwizard.storage import StorageService


class Mosso(Cloud):
  """
  aws_access_key_id = None
  aws_secret_access_key = None
  aws_key_pair = 'testa'
  ec2_conn = None	#?? how to encapsulate
  cloud_vartypes = ['aws_ami', 'aws_keypair', 'aws_secgroup', 'aws_ipaddr',
          'aws_disk']
  """
  cloud_name = "Amazon Web Services"
  cloud_abbrev = "aws"
  cloud_vartypes = ['aws_ami', 'aws_keypair', 'aws_secgroup', 'aws_ipaddr',
          'aws_disk']
  cloud_services = ['ec2', 'sqs', 's3', 'sdb']
  cloud_userid_var = 'aws_access_id'
  cloud_password_var = 'aws_secret_key'



